import { Navigate } from "react-router-dom"
import About from "../pages/About/About"
import Home from "../pages/Home/Home"

 const routes =  [{
    path:'/about',
    element: <About/>
},{
    path:'/home',
    element: <Home/>
},{
    path:'/',
    element: <Navigate to="/about"/>
}]

export default routes